package com.bilgeadam.oop.program;

/**
 * 
 * @author Bora SAYINER
 * @since Nov 29, 2014 11:40:33 AM
 * @version 1.0.0
 */
public class Driver {

	public static void main(String[] args) {
		Student merve = new Student();
		merve.setId(1);
		merve.setFirstName("Merve");
		merve.setLastName("ÇİLİNGİROĞLU");
		merve.setAge(25);

		Student koray = new Student();
		koray.setId(2);
		koray.setFirstName("Muzaffer");
		koray.setLastName("ALTINDAŞ");
		koray.setAge(22);

		int result = merve.compareTo(koray);
		System.out.println(result);
		
		// MySQLConnectionManager connectionManager = new
		// MySQLConnectionManager();
		// connectionManager.openConnection();
		// connectionManager.executeQuery("SELECT * FROM Videos");
		// connectionManager.closeConnection();

		// MsSQLConnectionManager connectionManager = new
		// MsSQLConnectionManager();
		// connectionManager.openConnection();
		// connectionManager.executeQuery("SELECT * FROM Employees");
		// connectionManager.closeConnection();

		// DbConnection connection = new MsSQLConnectionManager();
		// connection.openConnection();
		// connection.executeQuery("SELECT * FROM Employees");
		// connection.closeConnection();

		// MySQLConnectionManager connectionManager = new
		// MySQLConnectionManager();
		// connectionManager.open();
		// connectionManager.executeQuery("SELECT * FROM Employee");
		// connectionManager.close();
	}
}
